Skip to content

Autosign#52

Open
mgeggie-uber wants to merge 4 commits intojlambert121:masterfrom
mgeggie-uber:autosign
Open

Autosign#52
mgeggie-uber wants to merge 4 commits intojlambert121:masterfrom
mgeggie-uber:autosign

Conversation

@mgeggie-uber
Copy link
Contributor

Added support for setting up basic and policy-based autosign for the Puppet server.

running both on a (puppet server) node, to avoid the cert initialization
problem.
based autosigning using a combination of the following new
parameters:
- autosign: Path to the autosign file to use
    Default: /etc/puppetlabs/puppet/autosign.conf
- autosign_runnable: Boolean of whether autosign file is executable
  Setting to true will enable policy-based autosigning, and require
  autosign_script to be supplied
    Default: false
- autosign_list: Array of domains to match for basic autosigning.
  Requires autosign_runnable to be false.
    Default: []
- autosign_script: String content of script to use for policy-
  based autosigning. Requires autosign_runnable to be true.
    Default: ""
$autosign = '/etc/puppetlabs/puppet/autosign.conf'
$autosign_runnable = false
$autosign_list = []
$autosign_script = ''
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing the tests to fail. Puppet 4 has an actual undef so using that value is the way to go.

@jlambert121
Copy link
Owner

Thanks! Could you take a look at the empty string thing so tests are happy? After that I'll merge it in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants