{"action":"created","issue":{"url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/322","labels_url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/322/comments","events_url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/322/events","html_url":"https://github.com/rodjek/rspec-puppet/issues/322","id":108722537,"number":322,"title":"site.pp file not being sourced by puppet during catalog compilation","user":{"login":"dudemcbacon","id":1680316,"avatar_url":"https://avatars.githubusercontent.com/u/1680316?v=3","gravatar_id":"","url":"https://api.github.com/users/dudemcbacon","html_url":"https://github.com/dudemcbacon","followers_url":"https://api.github.com/users/dudemcbacon/followers","following_url":"https://api.github.com/users/dudemcbacon/following{/other_user}","gists_url":"https://api.github.com/users/dudemcbacon/gists{/gist_id}","starred_url":"https://api.github.com/users/dudemcbacon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dudemcbacon/subscriptions","organizations_url":"https://api.github.com/users/dudemcbacon/orgs","repos_url":"https://api.github.com/users/dudemcbacon/repos","events_url":"https://api.github.com/users/dudemcbacon/events{/privacy}","received_events_url":"https://api.github.com/users/dudemcbacon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rodjek/rspec-puppet/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-28T18:48:52Z","updated_at":"2015-12-18T10:08:03Z","closed_at":null,"body":"Hello,\r\n\r\nI'm seeing the following error messages:\r\n\r\n```\r\nprofile::ipa::client\r\n  with default for all parameters\r\n    should contain Notify[this is from site.pp] (FAILED - 1)\r\n\r\nFailures:\r\n\r\n  1) profile::ipa::client with default for all parameters should contain Notify[this is from site.pp]\r\n     Failure/Error: it { should contain_notify('this is from site.pp') }\r\n       expected that the catalogue would contain Notify[this is from site.pp]\r\n```\r\n\r\nI have the following in my site.pp file (at spec/fixtures/manifests/site.pp):\r\n\r\n```\r\nnotify { 'this is from site.pp': }\r\n```\r\n\r\nI am using the puppetlabs_spec_helper to help configure RSpec. This setup worked fine before our company transitioned to Puppet 4 but now it seems like anything put into the site.pp file is ignored.\r\n\r\nThis is the content of my spec_helper.rb (at spec/spec_helper.rb) file:\r\n```\r\nrequire 'puppetlabs_spec_helper/module_spec_helper'\r\n```\r\n\r\nThis is the content of the specfile (at spec/classes/profile__ipa__client_spec.rb):\r\n```\r\nrequire 'spec_helper'\r\n\r\ndescribe 'profile::ipa::client' do\r\n  context 'with default for all parameters' do\r\n    it { should contain_notify('this is from site.pp') }\r\n  end\r\nend\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/comments/165737076","html_url":"https://github.com/rodjek/rspec-puppet/issues/322#issuecomment-165737076","issue_url":"https://api.github.com/repos/rodjek/rspec-puppet/issues/322","id":165737076,"user":{"login":"DavidS","id":27712,"avatar_url":"https://avatars.githubusercontent.com/u/27712?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidS","html_url":"https://github.com/DavidS","followers_url":"https://api.github.com/users/DavidS/followers","following_url":"https://api.github.com/users/DavidS/following{/other_user}","gists_url":"https://api.github.com/users/DavidS/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidS/subscriptions","organizations_url":"https://api.github.com/users/DavidS/orgs","repos_url":"https://api.github.com/users/DavidS/repos","events_url":"https://api.github.com/users/DavidS/events{/privacy}","received_events_url":"https://api.github.com/users/DavidS/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T10:08:02Z","updated_at":"2015-12-18T10:08:02Z","body":"Or rather, THIS is the roadmap."}}