Remove -> in prosody profile to get rid of dependency cycle
authorPeter Palfrader <peter@palfrader.org>
Tue, 29 Oct 2019 15:01:52 +0000 (16:01 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 29 Oct 2019 15:01:52 +0000 (16:01 +0100)
modules/profile/manifests/prosody.pp

index 65ec2de..ecfb39b 100644 (file)
@@ -34,7 +34,7 @@ class profile::prosody {
     ],
   }
 
-  -> prosody::virtualhost {
+  prosody::virtualhost {
     'debian.org':
       ensure     => present,
       ssl_key    => '/etc/ssl/private/debian.org.key',
@@ -47,7 +47,7 @@ class profile::prosody {
       }
   }
 
-  -> posix_acl { '/etc/prosody/prosody.cfg.lua':
+  posix_acl { '/etc/prosody/prosody.cfg.lua':
     action     => exact,
     recursive  => false,
     provider   => posixacl,
@@ -61,7 +61,7 @@ class profile::prosody {
     ],
   }
 
-  -> posix_acl { '/etc/prosody/conf.avail/debian.org.cfg.lua':
+  posix_acl { '/etc/prosody/conf.avail/debian.org.cfg.lua':
     action     => exact,
     recursive  => false,
     provider   => posixacl,