通过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", }
时间: 2024-10-03 23:00:11