标签: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
原文地址:http://8287056.blog.51cto.com/8277056/1954593