-
-
Save zipkid/0254f0f69a9fa85cded8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mco_setup: | |
stomp_server: 'pmco1' | |
mc_security_psk: 'pwd' | |
manage_plugins: true | |
fact_source: 'yaml' | |
yaml_facter_source: '/etc/mcollective/facts.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
err: Could not retrieve catalog from remote server: Error 400 on SERVER: could not create resource of unknown type mcollective at /etc/puppet-modules-1/mcollective/manifests/setup.pp:9 on node pmco1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class mcollective::setup( | |
$mco_setup = hiera( 'mco_setup', {} ), | |
) | |
{ | |
validate_hash( $mco_setup ) | |
if( $mco_setup ) | |
{ | |
create_resources( 'mcollective', $mco_setup ) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment