{"action":"created","issue":{"url":"https://api.github.com/repos/kakwa/puppet-samba/issues/25","repository_url":"https://api.github.com/repos/kakwa/puppet-samba","labels_url":"https://api.github.com/repos/kakwa/puppet-samba/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/kakwa/puppet-samba/issues/25/comments","events_url":"https://api.github.com/repos/kakwa/puppet-samba/issues/25/events","html_url":"https://github.com/kakwa/puppet-samba/issues/25","id":172326105,"number":25,"title":"\"No mode matched, Missing class samba::classic or samba::dc?\" on previously working samba::share","user":{"login":"msweetser","id":10091898,"avatar_url":"https://avatars.githubusercontent.com/u/10091898?v=3","gravatar_id":"","url":"https://api.github.com/users/msweetser","html_url":"https://github.com/msweetser","followers_url":"https://api.github.com/users/msweetser/followers","following_url":"https://api.github.com/users/msweetser/following{/other_user}","gists_url":"https://api.github.com/users/msweetser/gists{/gist_id}","starred_url":"https://api.github.com/users/msweetser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msweetser/subscriptions","organizations_url":"https://api.github.com/users/msweetser/orgs","repos_url":"https://api.github.com/users/msweetser/repos","events_url":"https://api.github.com/users/msweetser/events{/privacy}","received_events_url":"https://api.github.com/users/msweetser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-21T15:28:25Z","updated_at":"2016-10-14T01:45:48Z","closed_at":null,"body":"As of the latest version (possibly earlier, I haven't upgraded in a bit) my samba::share definitions are throwing this error:\r\n\r\n**Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {\"message\":\"Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, No mode matched, Missing class samba::classic or samba::dc? at /etc/puppetlabs/code/environments/production/modules/samba/manifests/share.pp:61:4 at /etc/puppetlabs/code/environments/production/manifests/site.pp:262 on node sambashares.example.com\"**\r\n\r\nsamba::classic is initialized in a previous module:\r\n\r\n```\r\n  class {'::samba::params':\r\n    sernetpkgs => true,\r\n  }\r\n  class {'::samba::classic':\r\n    smbname => $hostname,\r\n    domain => 'EXAMPLE',\r\n    realm => 'EXAMPLE.COM',\r\n    security => 'ads',\r\n    krbconf => true,\r\n    nsswitch => true,\r\n    globaloptions => {\r\n      'workgroup' => 'EXAMPLE',\r\n      'template shell' => '/bin/bash',\r\n    },\r\n    adminuser => 'Administrator',\r\n    adminpassword => 'PASSWORD',\r\n  }\r\n  ::samba::idmap { 'Domain *':\r\n    domain => '*',\r\n    idrangemin => 16777216,\r\n    idrangemax => 33554431,\r\n    backend => 'tdb',\r\n    schema_mode => 'rfc2307',\r\n  }\r\n```\r\n\r\nand samba::share is initialized in the main manifest.\r\n\r\n```\r\n  ::samba::share {'RAID':\r\n    path => '/raid/',\r\n    owner => 'root',\r\n    group => 'root',\r\n    mode => '0775',\r\n    options => {\r\n        'browsable' => 'yes',\r\n        'read only' => 'no',\r\n        'public' => 'yes',\r\n        'writable' => 'yes',\r\n        'valid users' => 'admin',\r\n    },\r\n  }\r\n```\r\n\r\nAm I just doing something stupid?  "},"comment":{"url":"https://api.github.com/repos/kakwa/puppet-samba/issues/comments/253688853","html_url":"https://github.com/kakwa/puppet-samba/issues/25#issuecomment-253688853","issue_url":"https://api.github.com/repos/kakwa/puppet-samba/issues/25","id":253688853,"user":{"login":"kirkmadera","id":1686495,"avatar_url":"https://avatars.githubusercontent.com/u/1686495?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkmadera","html_url":"https://github.com/kirkmadera","followers_url":"https://api.github.com/users/kirkmadera/followers","following_url":"https://api.github.com/users/kirkmadera/following{/other_user}","gists_url":"https://api.github.com/users/kirkmadera/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkmadera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkmadera/subscriptions","organizations_url":"https://api.github.com/users/kirkmadera/orgs","repos_url":"https://api.github.com/users/kirkmadera/repos","events_url":"https://api.github.com/users/kirkmadera/events{/privacy}","received_events_url":"https://api.github.com/users/kirkmadera/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T01:45:48Z","updated_at":"2016-10-14T01:45:48Z","body":"Is this module intended to work with only users and shares defined? I don't understand how to set up classic or dc."}}
{"actor":{"display_login":"kirkmadera"}}