# Class to configure hound on a node. class openstack_project::codesearch ( $project_config_repo, ) { class { 'project_config': url => $project_config_repo, } class { 'hound': manage_config => false, } include ::jeepyb include ::logrotate include ::pip file { '/home/hound/config.json': ensure => 'present', } exec { 'create-hound-config': command => 'create-hound-config', path => '/bin:/usr/bin:/usr/local/bin', environment => "PROJECTS_YAML=${::project_config::jeepyb_project_file}", user => 'hound', cwd => '/home/hound', require => [ $::project_config::config_dir, File['/home/hound'], ], notify => Service['hound'] } }