This makes it possible to define virtual resources (prefixed by an '@'
character) in other manifests and have them be automatically added to
the correct nodes. For example, a different manifest could define @file
and @front_host resources with tag => [nginx], and the collectors added
here would automatically add them to the front-nginx node.
Change-Id: I8b0fa62ae52632ea228a30bb02fed8bcc2ed8761
notify => Service['nginx'],
crt => 'gitweb/web'
}
+
+ Front_vhost <| tag == nginx |> ~> Service['nginx']
+ File <| tag == nginx |> ~> Service['nginx']
}
target => '/etc/postgresql/9.6/main/postgresql.conf',
value => '2'
}
+ Postgresql::Server::Db <| tag == primary |>
+ Postgresql::Server::Pg_hba_rule <| tag == primary |>
}
contname => 'quiz',
ip => $ips[quiz]
}
+ File <| tag == root |>
+ Lxc::Container <| tag == root |>
+ Lxc::Container_bind <| tag == root |>
file{'/run/gitweb-socket':
ensure => 'directory'
}