Style Guide updates for puppet-lint

Once our gate-ci-puppet-lint job goes live, this will help to get it to
pass.

Change-Id: I2eb363038b8e63e4b17a3f80cc40dc6c6bf90bee
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/13722
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Paul Belanger 2012-09-26 13:40:42 -04:00 committed by Jenkins
parent c73536a2c6
commit f8f2915020
5 changed files with 46 additions and 32 deletions

View File

@ -1,15 +1,18 @@
# bare-bones slaves spun up by jclouds. Specifically need to not set ssh # bare-bones slaves spun up by jclouds. Specifically need to not set ssh
# login limits, because it screws up jclouds provisioning # login limits, because it screws up jclouds provisioning
class openstack_project::bare_slave( class openstack_project::bare_slave(
$install_users=true, $certname = $::fqdn,
$certname=$fqdn) { $install_users = true
) {
class { 'openstack_project::base': class { 'openstack_project::base':
install_users => $install_users,
certname => $certname, certname => $certname,
install_users => $install_users,
} }
class { 'jenkins::slave': class { 'jenkins::slave':
ssh_key => "", ssh_key => '',
user => false user => false
} }
} }
# vim:sw=2:ts=2:expandtab:textwidth=79

View File

@ -7,6 +7,8 @@ class openstack_project::community (
} }
realize ( realize (
User::Virtual::Localuser["smaffulli"], User::Virtual::Localuser['smaffulli'],
) )
} }
# vim:sw=2:ts=2:expandtab:textwidth=79

View File

@ -16,9 +16,11 @@ class openstack_project::dashboard (
dashboard_password => $password, dashboard_password => $password,
dashboard_db => 'dashboard_prod', dashboard_db => 'dashboard_prod',
dashboard_charset => 'utf8', dashboard_charset => 'utf8',
dashboard_site => $fqdn, dashboard_site => $::fqdn,
dashboard_port => '3000', dashboard_port => '3000',
mysql_root_pw => $mysql_password, mysql_root_pw => $mysql_password,
passenger => true, passenger => true,
} }
} }
# vim:sw=2:ts=2:expandtab:textwidth=79

View File

@ -8,12 +8,14 @@ class openstack_project::eavesdrop (
} }
include meetbot include meetbot
meetbot::site { "openstack": meetbot::site { 'openstack':
nick => "openstack", nick => 'openstack',
nickpass => $nickpass, nickpass => $nickpass,
network => "FreeNode", network => 'FreeNode',
server => "chat.us.freenode.net:7000", server => 'chat.us.freenode.net:7000',
channels => "#openstack #openstack-dev #openstack-meeting", channels => '#openstack #openstack-dev #openstack-meeting',
use_ssl => "True" use_ssl => 'True'
} }
} }
# vim:sw=2:ts=2:expandtab:textwidth=79

View File

@ -10,15 +10,20 @@ class openstack_project::etherpad (
} }
include etherpad_lite include etherpad_lite
include etherpad_lite::backup
class { 'etherpad_lite::apache': class { 'etherpad_lite::apache':
etherpad_crt => $etherpad_crt, etherpad_crt => $etherpad_crt,
etherpad_key => $etherpad_key, etherpad_key => $etherpad_key,
} }
class { 'etherpad_lite::site': class { 'etherpad_lite::site':
database_password => $database_password, database_password => $database_password,
} }
class { 'etherpad_lite::mysql': class { 'etherpad_lite::mysql':
database_password => $database_password, database_password => $database_password,
} }
include etherpad_lite::backup
} }
# vim:sw=2:ts=2:expandtab:textwidth=79