|
56 | 56 |
|
57 | 57 | exec { 'init phpbrew':
|
58 | 58 | command => '/usr/bin/sudo /usr/bin/phpbrew init',
|
59 |
| - creates => "/root/.phpbrew/bashrc", |
| 59 | + creates => '/root/.phpbrew/bashrc', |
60 | 60 | subscribe => File['/usr/bin/phpbrew'],
|
61 | 61 | refreshonly => true,
|
62 | 62 | }
|
63 | 63 |
|
64 | 64 | file { $php_install_dir:
|
65 |
| - ensure => 'directory', |
| 65 | + ensure => 'directory', |
66 | 66 | require => Exec['init phpbrew'],
|
67 | 67 | }
|
68 | 68 |
|
69 | 69 | # Specify where versions of PHP will be installed.
|
70 |
| - file { "/root/.phpbrew/init": |
| 70 | + file { '/root/.phpbrew/init': |
71 | 71 | content => "export PHPBREW_ROOT=${php_install_dir}",
|
72 | 72 | require => Exec['init phpbrew']
|
73 | 73 | }
|
74 | 74 |
|
75 | 75 | # Load phpbrew configuration by default.
|
76 | 76 | file_line { 'add phpbrew to bashrc':
|
77 |
| - path => '/root/.bashrc', |
78 |
| - line => "source /root/.phpbrew/bashrc", |
| 77 | + path => '/root/.bashrc', |
| 78 | + line => 'source /root/.phpbrew/bashrc', |
79 | 79 | require => Exec['init phpbrew'],
|
80 | 80 | }
|
81 | 81 |
|
82 | 82 | exec { 'update basbrc':
|
83 |
| - command => "/bin/bash" |
| 83 | + command => '/bin/bash' |
84 | 84 | }
|
85 | 85 |
|
86 |
| - file { "/root/.phpbrew/install_extension.sh": |
| 86 | + file { '/root/.phpbrew/install_extension.sh': |
87 | 87 | ensure => present,
|
88 | 88 | mode => 'a+x',
|
89 |
| - source => "puppet:///modules/phpbrew/install_extension.sh", |
| 89 | + source => 'puppet:///modules/phpbrew/install_extension.sh', |
90 | 90 | require => Exec['init phpbrew']
|
91 | 91 | }
|
92 | 92 | }
|
0 commit comments