Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 95

Need help with Error: puppet Error 400 on SERVER: Could not match “Ubuntu”

$
0
0
I get the error ( puppet Error 400 on SERVER: Could not match “Ubuntu” ) when running the following code from Pro Puppet Errata on CentOS 6.5 64 bit. It runs in version 2.7 but does not run on master and agent version 3.6.2. I have re-installed a few times with the same results. class sudo { package { sudo: ensure => present, } if $operatingsystem == “Ubuntu” { package { “sudo-ldap”: ensure => present, require => Package[“sudo”], } } file { "/etc/sudoers": owner => "root", group => "root", mode => 0440, source => "puppet:///modules/sudo/etc/sudoers", require => Package[“sudo”], } }

Viewing all articles
Browse latest Browse all 95

Trending Articles