{"action":"opened","issue":{"url":"https://api.github.com/repos/danieldreier/puppet-autosign/issues/26","repository_url":"https://api.github.com/repos/danieldreier/puppet-autosign","labels_url":"https://api.github.com/repos/danieldreier/puppet-autosign/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/danieldreier/puppet-autosign/issues/26/comments","events_url":"https://api.github.com/repos/danieldreier/puppet-autosign/issues/26/events","html_url":"https://github.com/danieldreier/puppet-autosign/issues/26","id":356892523,"node_id":"MDU6SXNzdWUzNTY4OTI1MjM=","number":26,"title":"Module doesn't install the autosign gem:","user":{"login":"glenfiddich","id":10711874,"node_id":"MDQ6VXNlcjEwNzExODc0","avatar_url":"https://avatars0.githubusercontent.com/u/10711874?v=4","gravatar_id":"","url":"https://api.github.com/users/glenfiddich","html_url":"https://github.com/glenfiddich","followers_url":"https://api.github.com/users/glenfiddich/followers","following_url":"https://api.github.com/users/glenfiddich/following{/other_user}","gists_url":"https://api.github.com/users/glenfiddich/gists{/gist_id}","starred_url":"https://api.github.com/users/glenfiddich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glenfiddich/subscriptions","organizations_url":"https://api.github.com/users/glenfiddich/orgs","repos_url":"https://api.github.com/users/glenfiddich/repos","events_url":"https://api.github.com/users/glenfiddich/events{/privacy}","received_events_url":"https://api.github.com/users/glenfiddich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T16:45:47Z","updated_at":"2018-09-04T16:45:47Z","closed_at":null,"author_association":"NONE","body":"### My code (Almost all copy/pasted from the docs)\r\n\r\n  if $puppettype == 'ca' {\r\n\r\n    ini_setting { 'policy-based autosigning':\r\n      setting => 'autosign',\r\n      path    => '/etc/puppetlabs/puppet/puppet.conf',\r\n      section => 'master',\r\n      value   => '/opt/puppetlabs/puppet/bin/autosign-validator',\r\n      notify  => Service['puppetserver'],\r\n    }\r\n\r\n    $autosign_secret=hiera('autosign_secret')\r\n    $autosign_ssh_key=hiera('autosign_ssh_key')\r\n\r\n    file {'/root/.ssh/authorized_keys':\r\n      ensure  => file,\r\n      owner   => 'root',\r\n      mode    => '0400',\r\n      group   => 'root',\r\n      content => $autosign_ssh_key,\r\n    }\r\n    class { '::autosign':\r\n      ensure => 'latest',\r\n      config => {\r\n        'general'   => {\r\n          'loglevel' => 'INFO',\r\n        },\r\n        'jwt_token' => {\r\n          'secret'   => $autosign_secret,\r\n          'validity' => '7200',\r\n        }\r\n      },\r\n    }\r\n# End of autosign stuff\r\n  }\r\n\r\n### What I see in brief\r\n\r\n[root@ourpuppetmaster ourdir]# puppet agent -t --debug --verbose | tee -a /var/tmp/puppet.log.bt.3\r\n\r\nthen \r\n\r\n[root@ourpuppetmaster ourdir]# gem list -r autosign | strings  # remote\r\nautosign (0.1.3)\r\n[root@ourpuppetmaster ourdir]# gem list -l autosign | strings  # local\r\n[root@ourpuppetmaster ourdir]#\r\n\r\n[root@ourpuppetmaster ourdir]# grep autosign /var/tmp/puppet.log.bt.3 | grep -v sel     # Ignore the SELinux output\r\nDebug: /Package[autosign]: Provider puppet_gem does not support features virtual_packages; not managing attribute allow_virtual\r\nDebug: /Stage[main]/Profile::Puppetmaster/Ini_setting[policy-based autosigning]/notify: notify to Service[puppetserver]\r\nDebug: /Stage[main]/Autosign::Config/File[/var/lib/autosign/autosign.journal]: Adding autorequire relationship with File[/var/lib/autosign]\r\nDebug: Executing: '/opt/puppetlabs/puppet/bin/gem list --remote \\Aautosign\\z'\r\n[root@ourpuppetmaster ourdir]#\r\n\r\n### Software in use\r\n\r\nmod 'danieldreier-autosign', '0.2.0'    and    puppetserver-5.3.5-1.el7.noarch\r\n\r\n### Analysis\r\n\r\ngem appears to be available remotely\r\n\r\nI looked at danieldreier/puppet-autosign & it does appear to attempt to install autosign"}}
{"actor":{"display_login":"glenfiddich"}}