From acafab70dc47db33070f0c8c1306eee0841339c9 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 1 Sep 2017 09:29:18 +0000 Subject: [PATCH] move roles::postgresql_server to postgres::backup_source --- .../manifests/backup_source.pp} | 2 +- modules/roles/manifests/init.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename modules/{roles/manifests/postgresql_server.pp => postgres/manifests/backup_source.pp} (95%) diff --git a/modules/roles/manifests/postgresql_server.pp b/modules/postgres/manifests/backup_source.pp similarity index 95% rename from modules/roles/manifests/postgresql_server.pp rename to modules/postgres/manifests/backup_source.pp index 25aa3e5dd..81d4a8ee1 100644 --- a/modules/roles/manifests/postgresql_server.pp +++ b/modules/postgres/manifests/backup_source.pp @@ -1,4 +1,4 @@ -class roles::postgresql_server { +class postgres::backup_source { file { "/usr/local/bin/pg-backup-file": mode => '0555', source => "puppet:///modules/roles/postgresql_server/pg-backup-file", diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 6e6976eab..45ca3a5b4 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -317,7 +317,7 @@ class roles { } if has_role('postgresql_server') { - include roles::postgresql_server + include postgres::backup_source } if has_role('bacula_director') { -- 2.20.1