Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(WIP) Update Puppet WP and class names #695

Closed
wants to merge 12 commits into from
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Setup Nginx, MySQL and WordPress.
define chassis::site (
define chassis::core (
$location,
$wpdir,
$contentdir,
Expand Down Expand Up @@ -42,7 +42,7 @@
grant => ['all'],
}

wp::site { $wpdir:
wp::core { $wpdir:
url => "http://${name}/",
sitename => $sitename,
require => Mysql::Db[$database],
Expand Down
2 changes: 1 addition & 1 deletion puppet/modules/chassis/manifests/network.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
grant => ['all'],
}

wp::site { $wpdir:
wp::core { $wpdir:
url => "http://${name}/",
name => 'Vagrant Site',
require => Mysql::Db[$database],
Expand Down
2 changes: 1 addition & 1 deletion puppet/modules/chassis/manifests/wp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
}
else {
chassis::site { $name:
chassis::core { $name:
location => $location,
wpdir => $wpdir,
contentdir => $contentdir,
Expand Down