s

Plain text code posted
created at 02 Sep 11:29

Edit | Back
1
2
3
4
5
6
7
8
#!/bin/bash                                                                                                                                                                  
                                                                                                                                                                             
TEMP_PP=$1                                                                                                                                                                   
/sbin/service puppetmaster stop                                                                                                                                              
SITE_PP=/etc/puppet/manifests/site.pp                                                                                                                                        
/bin/mv ${SITE_PP} ${SITE_PP}.org                                                                                                                                            
/bin/mv $TEMP_PP $SITE_PP                                                                                                                                                    
/sbin/service puppetmaster start 
1.23 KB in 2 ms with coderay