Introduced Resource Repositories.

Works but requires manual `import`.
Removed `id` from resources.

Change-Id: I36ef63a5003ea39eb88d9076afd61215584916d9
This commit is contained in:
Jedrzej Nowak 2015-12-14 16:54:18 +01:00
parent 99f365a05d
commit c7691821cc
78 changed files with 5 additions and 77 deletions
resources
README.md
ansible_local
ansible_remote
apache_puppet
apt_repo
ceph_keys
ceph_mon
cinder_api_puppet
cinder_glance_puppet
cinder_puppet
cinder_scheduler_puppet
cinder_volume_puppet
container_networks
data_container
dnsmasq
docker
docker_container
ex_managed
file
fuel_library
glance_api_service
glance_config
glance_puppet
glance_registry_puppet
glance_registry_service
haproxy_config
haproxy_service
haproxy_service_config
hosts_file
keystone_config
keystone_puppet
keystone_role
keystone_service
keystone_service_endpoint
keystone_tenant
keystone_user
librarian
lxc_container
lxc_host
managed_apt
mariadb_db
mariadb_service
mariadb_user
neutron_agents_dhcp_puppet
neutron_agents_l3_puppet
neutron_agents_metadata_puppet
neutron_agents_ml2_ovs_puppet
neutron_plugins_ml2_puppet
neutron_puppet
neutron_server_puppet
node_network_puppet
not_provisioned_node
nova_api_puppet
nova_compute_libvirt_puppet
nova_compute_puppet
nova_conductor_puppet
nova_generic_service_puppet
nova_neutron_puppet
nova_puppet
openrc_file
rabbitmq_config
rabbitmq_service
rabbitmq_user
rabbitmq_vhost
remote_file
riak_join_single
riak_node
ro_node
solar_bootstrap
sources
ssh_key
transport_rsync
transport_solar_agent
transport_ssh
transport_torrent
transports
volume_group
vxlan_mesh

5
resources/README.md Normal file

@ -0,0 +1,5 @@
We're moving to repositories.
To use import this dir with `solar repository import ./resources --name resources`.
To update `solar repository update --overwrite ./resources --name resources`

@ -1,4 +1,3 @@
id: ansible_sample
handler: ansible_playbook
version: 0.0.1
input:

@ -1,4 +1,3 @@
id: ansible_sample
handler: ansible_playbook
version: 0.0.1
input:

@ -1,4 +1,3 @@
id: apache_puppet
handler: puppet
puppet_module: apache
version: 1.0.0

@ -1,4 +1,3 @@
id: apt_repo
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: ceph_keys
handler: shell
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: ceph_mon
handler: puppetv2
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: cinder_api_puppet
handler: puppet
puppet_module: cinder
version: 1.0.0

@ -1,4 +1,3 @@
id: cinder_glance_puppet
handler: puppet
puppet_module: cinder
version: 1.0.0

@ -1,4 +1,3 @@
id: cinder_puppet
handler: puppet
actions:
run: run.pp

@ -1,4 +1,3 @@
id: cinder_scheduler_puppet
handler: puppet
puppet_module: cinder
version: 1.0.0

@ -1,4 +1,3 @@
id: cinder_volume_puppet
handler: puppet
puppet_module: cinder
version: 1.0.0

@ -1,4 +1,3 @@
id: container_networks
handler: ansible_playbook
version: 1.0.0
actions:

@ -1,4 +1,3 @@
id: data_container
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: dnsmasq
handler: ansible
version: 1.0.0

@ -1,4 +1,3 @@
id: docker
handler: ansible
version: 1.0.0

@ -1,4 +1,3 @@
id: container
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: managed
handler: none
version: 1.0.0
managers:

@ -1,4 +1,3 @@
id: file
handler: shell
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: fuel_library
handler: shell
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: container
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: glance_config
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: glance_puppet
handler: puppet
puppet_module: glance
version: 1.0.0

@ -1,4 +1,3 @@
id: glance_registry_puppet
handler: puppet
puppet_module: glance
version: 1.0.0

@ -1,4 +1,3 @@
id: container
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: haproxy_config
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: haproxy_service
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: haproxy_service_config
handler: none
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: hosts_file
handler: ansible
version: 1.0.0

@ -1,4 +1,3 @@
id: keystone_config
handler: ansible
version: 1.0.0

@ -1,4 +1,3 @@
id: keystone_puppet
handler: puppet
puppet_module: keystone
version: 1.0.0

@ -1,4 +1,3 @@
id: keystone_role
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: keystone_service
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: keystone_service_endpoint
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: keystone_tenant
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: keystone_user
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: librarian
handler: ansible
version: 0.0.1
actions:

@ -1,4 +1,3 @@
id: lxc_container
handler: ansible_playbook
version: 1.0.0
actions:

@ -1,4 +1,3 @@
id: lxc_host
handler: ansible_playbook
version: 1.0.0
actions:

@ -1,5 +1,4 @@
# This resource will clean
id: apt_repo_manager
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: mariadb_db
handler: ansible
version: 1.0.0
actions:

@ -1,4 +1,3 @@
id: mariadb_service
handler: ansible
version: 1.0.0
actions:

@ -1,4 +1,3 @@
id: mariadb_user
handler: ansible
version: 1.0.0
actions:

@ -1,5 +1,4 @@
handler: puppet
id: 'neutron_agents_dhcp_puppet'
input:
ip:
schema: str!

@ -1,5 +1,4 @@
handler: puppet
id: 'neutron_agents_l3_puppet'
input:
ip:
schema: str!

@ -1,5 +1,4 @@
handler: puppet
id: 'neutron_agents_metadata_puppet'
input:
ip:
schema: str!

@ -1,5 +1,4 @@
handler: puppet
id: 'neutron_agents_ml2_ovs_puppet'
input:
ip:
schema: str!

@ -1,5 +1,4 @@
handler: puppet
id: 'neutron_plugins_ml2_puppet'
input:
ip:
schema: str!

@ -1,5 +1,4 @@
handler: puppet
id: 'neutron_puppet'
input:
ip:
schema: str!

@ -1,5 +1,4 @@
handler: puppet
id: 'neutron_server_puppet'
actions:
run: run.pp
update: run.pp

@ -1,4 +1,3 @@
id: node_network_puppet
handler: puppet
puppet_module: l23network
version: 1.0.0

@ -1,4 +1,3 @@
id: not_provisioned_node
handler: shell
version: 1.0.0

@ -1,4 +1,3 @@
id: nova_api
handler: puppet
puppet_module: nova
version: 1.0.0

@ -1,4 +1,3 @@
id: nova_compute_libvirt
handler: puppet
puppet_module: nova
version: 1.0.0

@ -1,4 +1,3 @@
id: nova_compute
handler: puppet
puppet_module: nova
version: 1.0.0

@ -1,4 +1,3 @@
id: nova_conductor
handler: puppet
puppet_module: nova
version: 1.0.0

@ -1,4 +1,3 @@
id: nova_generic_service
handler: puppet
puppet_module: nova
version: 1.0.0

@ -1,4 +1,3 @@
id: nova_neutron
handler: puppet
puppet_module: nova
version: 1.0.0

@ -1,4 +1,3 @@
id: nova
handler: puppet
puppet_module: nova
version: 1.0.0

@ -1,4 +1,3 @@
id: nova_config
handler: ansible
version: 1.0.0

@ -1,4 +1,3 @@
id: rabbitmq_config
handler: ansible
version: 1.0.0
input:

@ -1,5 +1,4 @@
handler: puppet
id: 'rabbitmq'
input:
ip:
schema: str!

@ -1,4 +1,3 @@
id: rabbitmq_user
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: rabbitmq_vhost
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: remote_file
handler: shell
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: riak_join_single
handler: ansible
version: 1.0.0
actions:

@ -1,4 +1,3 @@
id: riak_node
handler: ansible
version: 1.0.0
actions:

@ -1,4 +1,3 @@
id: ro_node
handler: none
version: 1.0.0
actions:

@ -1,5 +1,4 @@
handler: ansible
id: 'solar_bootstrap'
input:
ip:
schema: str!

@ -1,4 +1,3 @@
id: sources
handler: naive_sync
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: ssh_key
handler: ansible_playbook
version: 1.0.0
actions:

@ -1,4 +1,3 @@
id: transport_rsync
input:
key:
schema: str!

@ -1,4 +1,3 @@
id: transport_solar_agent
handler: ansible
input:
solar_agent_user:

@ -1,4 +1,3 @@
id: transport_ssh
input:
ssh_key:
schema: str!

@ -1,4 +1,3 @@
id: transport_torrent
handler: ansible
input:
trackers:

@ -1,4 +1,3 @@
id: transports
input:
transports:
schema: [{user: str, password: str, port: int!, key: str, name: str!, trackers: [str]}]

@ -1,4 +1,3 @@
id: volume_group
handler: ansible
version: 1.0.0
input:

@ -1,4 +1,3 @@
id: vxlan_mesh
handler: ansible_playbook
version: 1.0.0
actions: