{"action":"created","issue":{"url":"https://api.github.com/repos/hercules-team/augeasproviders_ssh/issues/8","labels_url":"https://api.github.com/repos/hercules-team/augeasproviders_ssh/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/hercules-team/augeasproviders_ssh/issues/8/comments","events_url":"https://api.github.com/repos/hercules-team/augeasproviders_ssh/issues/8/events","html_url":"https://github.com/hercules-team/augeasproviders_ssh/issues/8","id":56882132,"number":8,"title":"undefined method `provider' for nil:NilClass","user":{"login":"twardnw","id":381309,"avatar_url":"https://avatars.githubusercontent.com/u/381309?v=3","gravatar_id":"","url":"https://api.github.com/users/twardnw","html_url":"https://github.com/twardnw","followers_url":"https://api.github.com/users/twardnw/followers","following_url":"https://api.github.com/users/twardnw/following{/other_user}","gists_url":"https://api.github.com/users/twardnw/gists{/gist_id}","starred_url":"https://api.github.com/users/twardnw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twardnw/subscriptions","organizations_url":"https://api.github.com/users/twardnw/orgs","repos_url":"https://api.github.com/users/twardnw/repos","events_url":"https://api.github.com/users/twardnw/events{/privacy}","received_events_url":"https://api.github.com/users/twardnw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T23:21:37Z","updated_at":"2015-02-07T18:36:28Z","closed_at":null,"body":"I added the module to my puppet master (in the moduledir) and have verified that the custom types have been synced to the libdir:\r\n\r\n    [root@..... provider]# pwd\r\n    /var/opt/lib/pe-puppet/lib/puppet/provider\r\n    [root@..... provider]# ls\r\n    file_concat    ini_subsetting      pe_puppetdb_conn_validator  rabbitmq_vhost       sensu_client_subscription  ssh_config\r\n    file_line      java_ks             postgresql_psql             reboot               sensu_dashboard_config     sshd_config\r\n    firewall       ldapdn              rabbitmq_exchange           sensu_api_config     sensu_filter               sshd_config_subsystem\r\n    firewallchain  package             rabbitmq_plugin             sensu_check          sensu_handler\r\n    firewall.rb    pe_postgresql_conf  rabbitmq_user               sensu_check_config   sensu_rabbitmq_config\r\n    ini_setting    pe_postgresql_psql  rabbitmq_user_permissions   sensu_client_config  sensu_redis_config\r\n    [root@..... provider]#\r\n\r\nbut am receiving the following error when running puppet agent.\r\n\r\n    Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/sshd_config_subsystem: Could not autoload puppet/provider/sshd_config_subsystem/augeas: undefined method `provider' for nil:NilClass on node stg01-************\r\n\r\nThis specific piece of code is :\r\n\r\n    sshd_config_subsystem { \"sftp\":\r\n      ensure  => present,\r\n      command => \"internal-sftp\",\r\n    }\r\n\r\nThe same result is experienced when using sshd_config types as well."},"comment":{"url":"https://api.github.com/repos/hercules-team/augeasproviders_ssh/issues/comments/73376643","html_url":"https://github.com/hercules-team/augeasproviders_ssh/issues/8#issuecomment-73376643","issue_url":"https://api.github.com/repos/hercules-team/augeasproviders_ssh/issues/8","id":73376643,"user":{"login":"twardnw","id":381309,"avatar_url":"https://avatars.githubusercontent.com/u/381309?v=3","gravatar_id":"","url":"https://api.github.com/users/twardnw","html_url":"https://github.com/twardnw","followers_url":"https://api.github.com/users/twardnw/followers","following_url":"https://api.github.com/users/twardnw/following{/other_user}","gists_url":"https://api.github.com/users/twardnw/gists{/gist_id}","starred_url":"https://api.github.com/users/twardnw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twardnw/subscriptions","organizations_url":"https://api.github.com/users/twardnw/orgs","repos_url":"https://api.github.com/users/twardnw/repos","events_url":"https://api.github.com/users/twardnw/events{/privacy}","received_events_url":"https://api.github.com/users/twardnw/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T18:36:28Z","updated_at":"2015-02-07T18:36:28Z","body":"Sorry, yes, the libdir listing was done on the master, error coming from the agent on a node"}}