Can I install puppet modules through puppet manifest?

后端 未结 5 1610
迷失自我
迷失自我 2021-02-13 03:34

Primary goal is to add all puppet modules automatically, so that all dev-env\'s and prod-env could be started with one command. How can I install puppet modules through puppet m

5条回答
  •  没有蜡笔的小新
    2021-02-13 03:57

    I did this and it seemed to work

    exec { 'puppet-fstab':
        path => '/bin:/usr/bin',
        command => 'puppet module install -i /usr/share/puppet/modules/AlexCline-fstab >>/tmp/err.log',
    }
    

提交回复
热议问题