{"action":"created","issue":{"url":"https://api.github.com/repos/deric/puppet-accounts/issues/56","repository_url":"https://api.github.com/repos/deric/puppet-accounts","labels_url":"https://api.github.com/repos/deric/puppet-accounts/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/deric/puppet-accounts/issues/56/comments","events_url":"https://api.github.com/repos/deric/puppet-accounts/issues/56/events","html_url":"https://github.com/deric/puppet-accounts/issues/56","id":189406888,"number":56,"title":"Spec tests fail in clean env","user":{"login":"poikilotherm","id":5468333,"avatar_url":"https://avatars.githubusercontent.com/u/5468333?v=3","gravatar_id":"","url":"https://api.github.com/users/poikilotherm","html_url":"https://github.com/poikilotherm","followers_url":"https://api.github.com/users/poikilotherm/followers","following_url":"https://api.github.com/users/poikilotherm/following{/other_user}","gists_url":"https://api.github.com/users/poikilotherm/gists{/gist_id}","starred_url":"https://api.github.com/users/poikilotherm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poikilotherm/subscriptions","organizations_url":"https://api.github.com/users/poikilotherm/orgs","repos_url":"https://api.github.com/users/poikilotherm/repos","events_url":"https://api.github.com/users/poikilotherm/events{/privacy}","received_events_url":"https://api.github.com/users/poikilotherm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T14:31:48Z","updated_at":"2016-11-15T15:47:15Z","closed_at":null,"body":"Hi there,\r\n\r\nI wanted to add some spec tests to an extension I currently develop (see https://github.com/poikilotherm/puppet-accounts/tree/feature_enable_cleartext_pw). Maybe it is just me, but all (!) rspec tests invoked via `bundle exec rake spec` are failing with:\r\n`Could not find declared class accounts::groups at line 1:1`\r\n`Could not find declared class accounts at line 1:1`\r\n`Could not find declared class accounts::users at line 1:1`\r\n\r\nI tried in the master branch (so no invalid code), same result. I tried with clean rvm envs (ruby 2.1.10, 2.3.1), same result. Even tried on two other machines, same result.\r\n\r\nDoes anybody have a clue? Other projects with rspec-puppet (like stdlib, ...) are running flawlessly within the same env!\r\n\r\nMy gem list:\r\n```\r\nGems included by the bundle:\r\n  * CFPropertyList (2.2.8)\r\n  * addressable (2.4.0)\r\n  * ansi (1.5.0)\r\n  * ast (2.3.0)\r\n  * astrolabe (1.3.1)\r\n  * aws-sdk-v1 (1.66.0)\r\n  * backports (3.6.8)\r\n  * beaker (2.51.0)\r\n  * beaker-answers (0.11.0)\r\n  * beaker-hiera (0.1.1)\r\n  * beaker-hostgenerator (0.8.0)\r\n  * beaker-pe (0.12.1)\r\n  * beaker-puppet_install_helper (0.5.0)\r\n  * beaker-rspec (5.6.0)\r\n  * builder (3.2.2)\r\n  * bundler (1.13.6)\r\n  * coderay (1.1.1)\r\n  * connection_pool (2.2.0)\r\n  * deep_merge (1.1.1)\r\n  * diff-lcs (1.2.5)\r\n  * docile (1.1.5)\r\n  * docker-api (1.32.1)\r\n  * domain_name (0.5.20160826)\r\n  * ethon (0.9.1)\r\n  * excon (0.54.0)\r\n  * facter (2.4.6)\r\n  * facterdb (0.3.8)\r\n  * faraday (0.9.2)\r\n  * faraday_middleware (0.10.0)\r\n  * fast_gettext (1.1.0)\r\n  * ffi (1.9.14)\r\n  * fission (0.5.0)\r\n  * fog (1.34.0)\r\n  * fog-atmos (0.1.0)\r\n  * fog-aws (0.12.0)\r\n  * fog-brightbox (0.11.0)\r\n  * fog-core (1.43.0)\r\n  * fog-dynect (0.0.3)\r\n  * fog-ecloud (0.3.0)\r\n  * fog-google (0.0.9)\r\n  * fog-json (1.0.2)\r\n  * fog-local (0.3.0)\r\n  * fog-powerdns (0.1.1)\r\n  * fog-profitbricks (2.0.1)\r\n  * fog-radosgw (0.0.5)\r\n  * fog-riakcs (0.1.0)\r\n  * fog-sakuracloud (1.7.5)\r\n  * fog-serverlove (0.1.2)\r\n  * fog-softlayer (1.1.4)\r\n  * fog-storm_on_demand (0.1.1)\r\n  * fog-terremark (0.1.0)\r\n  * fog-vmfusion (0.1.0)\r\n  * fog-voxel (0.1.0)\r\n  * fog-xml (0.1.2)\r\n  * formatador (0.2.5)\r\n  * gettext (3.2.2)\r\n  * gettext-setup (0.7)\r\n  * gh (0.14.0)\r\n  * google-api-client (0.9.4)\r\n  * googleauth (0.5.1)\r\n  * guard (2.14.0)\r\n  * guard-rake (1.0.0)\r\n  * hiera (3.2.1)\r\n  * highline (1.7.8)\r\n  * hirb (0.7.3)\r\n  * hocon (1.1.3)\r\n  * http-cookie (1.0.3)\r\n  * httpclient (2.8.2.4)\r\n  * hurley (0.2)\r\n  * in-parallel (0.1.15)\r\n  * inflecto (0.0.2)\r\n  * inifile (2.0.2)\r\n  * ipaddress (0.8.3)\r\n  * jgrep (1.4.1)\r\n  * json (1.8.3)\r\n  * json_pure (1.8.3)\r\n  * jwt (1.5.6)\r\n  * launchy (2.4.3)\r\n  * librarian-puppet (2.2.3)\r\n  * librarianp (0.6.3)\r\n  * listen (3.0.8)\r\n  * little-plugger (1.1.4)\r\n  * locale (2.1.2)\r\n  * logging (2.1.0)\r\n  * lumberjack (1.0.10)\r\n  * master_manipulator (1.2.4)\r\n  * mcollective-client (2.9.0)\r\n  * memoist (0.15.0)\r\n  * metaclass (0.0.4)\r\n  * metadata-json-lint (0.0.11)\r\n  * method_source (0.8.2)\r\n  * mime-types (2.99.3)\r\n  * mini_portile2 (2.1.0)\r\n  * minitar (0.5.4)\r\n  * minitest (5.9.1)\r\n  * mocha (1.2.1)\r\n  * multi_json (1.12.1)\r\n  * multipart-post (2.0.0)\r\n  * nenv (0.3.0)\r\n  * net-http-persistent (3.0.0)\r\n  * net-http-pipeline (1.0.1)\r\n  * net-scp (1.2.1)\r\n  * net-ssh (2.9.4)\r\n  * net-telnet (0.1.1)\r\n  * netrc (0.11.0)\r\n  * nokogiri (1.6.8.1)\r\n  * notiffany (0.1.1)\r\n  * open_uri_redirections (0.2.1)\r\n  * os (0.9.6)\r\n  * parser (2.3.1.4)\r\n  * powerpack (0.1.1)\r\n  * pry (0.10.4)\r\n  * puppet (4.7.0)\r\n  * puppet-blacksmith (3.4.0)\r\n  * puppet-lint (2.0.2)\r\n  * puppet-lint-absolute_classname-check (0.2.4)\r\n  * puppet-lint-classes_and_types_beginning_with_digits-check (0.1.2)\r\n  * puppet-lint-leading_zero-check (0.1.1)\r\n  * puppet-lint-resource_reference_syntax (1.0.9)\r\n  * puppet-lint-trailing_comma-check (0.3.2)\r\n  * puppet-lint-unquoted_string-check (0.3.0)\r\n  * puppet-lint-version_comparison-check (0.2.1)\r\n  * puppet-syntax (2.1.1)\r\n  * puppet_forge (2.2.2)\r\n  * puppetlabs_spec_helper (1.2.2)\r\n  * pusher-client (0.6.2)\r\n  * rainbow (2.1.0)\r\n  * rake (11.3.0)\r\n  * rb-fsevent (0.9.7)\r\n  * rb-inotify (0.9.7)\r\n  * rbvmomi (1.8.2)\r\n  * representable (2.3.0)\r\n  * require_all (1.3.3)\r\n  * rest-client (1.8.0)\r\n  * retriable (2.1.0)\r\n  * rspec (3.1.0)\r\n  * rspec-core (3.1.7)\r\n  * rspec-expectations (3.1.2)\r\n  * rspec-its (1.2.0)\r\n  * rspec-mocks (3.1.3)\r\n  * rspec-puppet (2.3.2)\r\n  * rspec-puppet-facts (1.7.0)\r\n  * rspec-support (3.1.2)\r\n  * rsync (1.0.9)\r\n  * rubocop (0.33.0)\r\n  * ruby-progressbar (1.8.1)\r\n  * semantic_puppet (0.1.4)\r\n  * serverspec (2.37.2)\r\n  * sfl (2.3)\r\n  * shellany (0.0.1)\r\n  * signet (0.7.3)\r\n  * simplecov (0.12.0)\r\n  * simplecov-console (0.3.1)\r\n  * simplecov-html (0.10.0)\r\n  * slop (3.6.0)\r\n  * spdx-licenses (1.1.0)\r\n  * specinfra (2.63.3)\r\n  * stomp (1.4.3)\r\n  * stringify-hash (0.0.2)\r\n  * systemu (2.6.5)\r\n  * text (1.3.1)\r\n  * thor (0.19.1)\r\n  * travis (1.8.2)\r\n  * travis-lint (2.0.0)\r\n  * trollop (2.1.2)\r\n  * typhoeus (0.8.0)\r\n  * uber (0.0.15)\r\n  * unf (0.1.4)\r\n  * unf_ext (0.0.7.2)\r\n  * websocket (1.2.3)\r\n```"},"comment":{"url":"https://api.github.com/repos/deric/puppet-accounts/issues/comments/260677584","html_url":"https://github.com/deric/puppet-accounts/issues/56#issuecomment-260677584","issue_url":"https://api.github.com/repos/deric/puppet-accounts/issues/56","id":260677584,"user":{"login":"deric","id":138573,"avatar_url":"https://avatars.githubusercontent.com/u/138573?v=3","gravatar_id":"","url":"https://api.github.com/users/deric","html_url":"https://github.com/deric","followers_url":"https://api.github.com/users/deric/followers","following_url":"https://api.github.com/users/deric/following{/other_user}","gists_url":"https://api.github.com/users/deric/gists{/gist_id}","starred_url":"https://api.github.com/users/deric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deric/subscriptions","organizations_url":"https://api.github.com/users/deric/orgs","repos_url":"https://api.github.com/users/deric/repos","events_url":"https://api.github.com/users/deric/events{/privacy}","received_events_url":"https://api.github.com/users/deric/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T15:47:15Z","updated_at":"2016-11-15T15:47:15Z","body":"That's quite strange, it works for me. Ruby version 2.1.10 is definitely fine. Just running `bundle install && bundle exec rake spec` should be enough.\r\n\r\nTry to submit a PR, it will trigger an automated build on Travis. Btw. which OS/distribution do you use?"}}
{"actor":{"display_login":"deric"}}