File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 77 $admin_email = ' admin@example.com' ,
88 $admin_password = ' password' ,
99 $network = false ,
10- $subdomains = false
10+ $subdomains = false ,
11+ $user = $::wp::user,
1112) {
1213 include wp::cli
1314
2425 exec {"wp install $location" :
2526 command => " /usr/bin/wp core $install --title='$sitename ' --admin_email='$admin_email ' --admin_name='$admin_user ' --admin_password='$admin_password '" ,
2627 cwd => $location ,
27- user => $::wp:: user ,
28+ user => $user ,
2829 require => [ Class[' wp::cli' ] ],
2930 unless => ' /usr/bin/wp core is-installed'
3031 }
3334 wp::option {"wp siteurl $location" :
3435 location => $location ,
3536 ensure => " equal" ,
36- user => $::wp:: user ,
37+ user => $user ,
3738
3839 key => " siteurl" ,
3940 value => $siteurl
You can’t perform that action at this time.
0 commit comments