Skip to content

Commit ff1dc0d

Browse files
committed
Merge pull request #1 from amosshapira/master
Convert exec commands to full paths.
2 parents ceb5c50 + 765fe02 commit ff1dc0d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/init.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656

5757
exec { 'init phpbrew':
58-
command => 'sudo /usr/bin/phpbrew init',
58+
command => '/usr/bin/sudo /usr/bin/phpbrew init',
5959
creates => "/root/.phpbrew/bashrc",
6060
subscribe => File['/usr/bin/phpbrew'],
6161
refreshonly => true,
@@ -80,7 +80,7 @@
8080
}
8181

8282
exec { 'update basbrc':
83-
command => "bash"
83+
command => "/bin/bash"
8484
}
8585

8686
file { "/root/.phpbrew/install_extension.sh":

manifests/install.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
exec { "install php-${php_version}":
40-
command => "sudo PHPBREW_ROOT=${install_dir} /usr/bin/phpbrew install --old php-${php_version} +default +intl ${extra_params}",
40+
command => "/usr/bin/sudo PHPBREW_ROOT=${install_dir} /usr/bin/phpbrew install --old php-${php_version} +default +intl ${extra_params}",
4141
creates => "${install_dir}/php/php-${php_version}/bin/php",
4242
timeout => 0,
4343
}

0 commit comments

Comments
 (0)