通过puppet批量自动安装软件
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了通过puppet批量自动安装软件相关的知识,希望对你有一定的参考价值。
通过puppet安装软件。以shotgun_desktop为例:
# install shotgun_desktop package { ‘shotgun_desktop‘: } -> file { ‘remove shotgun desktop libQt‘: path => "/opt/Shotgun/Qt/lib", ensure => absent, force => true, } file { ‘/usr/lib64/libffi.so.5‘: ensure => link, target => "/usr/lib64/libffi.so.6", } file { ‘/etc/profile.d/shotgun_desktop.sh‘: source => "$svn_files/etc/profile.d/shotgun_desktop.sh", } file { ‘/usr/share/applications/shotgun.desktop‘: source => "$svn_files/usr/share/applications/shotgun.desktop", } file { ‘/opt/Shotgun/shotgun.png‘: source => "$svn_files/usr/share/shotgun/shotgun.png", }
本文出自 “8277056” 博客,请务必保留此出处http://8287056.blog.51cto.com/8277056/1954593
以上是关于通过puppet批量自动安装软件的主要内容,如果未能解决你的问题,请参考以下文章