Ich bin neu zu Puppe und ich kann nicht anwenden .pp, um das Wort zu ändern.Wie man eine .pp auf einen Knoten anwendet
Ich habe unter /etc/Puppet Labs/code/modules/helloworld/
init.pp
class helloworld {
notify { 'hello, world!': }
}
node 'kp2.keepy-i.com'{
include helloworld
}
motd.pp
class helloworld::motd {
file { '/etc/motd':
owner => 'root',
group => 'root',
mode => '0644',
content => "hello, world!\n",
}
}
manifestiert Wenn ich Puppe ausführen Agent -t - Verbose
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Caching catalog for kp2.keepy-i.com
Info: Applying configuration version '1463497694'
Notice: Applied catalog in 0.04 seconds
aber nichts ändern.
Vielen Dank im Voraus