foreman_api 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/doc/ForemanApi/Resources/Architecture.html +1 -1
  3. data/doc/ForemanApi/Resources/Audit.html +1 -1
  4. data/doc/ForemanApi/Resources/AuthSourceLdap.html +1 -1
  5. data/doc/ForemanApi/Resources/Bookmark.html +1 -1
  6. data/doc/ForemanApi/Resources/CommonParameter.html +1 -1
  7. data/doc/ForemanApi/Resources/ComputeResource.html +1 -1
  8. data/doc/ForemanApi/Resources/ConfigTemplate.html +1 -1
  9. data/doc/ForemanApi/Resources/Dashboard.html +1 -1
  10. data/doc/ForemanApi/Resources/Domain.html +1 -1
  11. data/doc/ForemanApi/Resources/Environment.html +1 -1
  12. data/doc/ForemanApi/Resources/FactValue.html +1 -1
  13. data/doc/ForemanApi/Resources/Home.html +1 -1
  14. data/doc/ForemanApi/Resources/Host.html +57 -23
  15. data/doc/ForemanApi/Resources/HostClass.html +1 -1
  16. data/doc/ForemanApi/Resources/Hostgroup.html +1 -1
  17. data/doc/ForemanApi/Resources/HostgroupClass.html +1 -1
  18. data/doc/ForemanApi/Resources/Image.html +1 -1
  19. data/doc/ForemanApi/Resources/Location.html +1 -1
  20. data/doc/ForemanApi/Resources/LookupKey.html +1 -1
  21. data/doc/ForemanApi/Resources/Medium.html +16 -12
  22. data/doc/ForemanApi/Resources/Model.html +1 -1
  23. data/doc/ForemanApi/Resources/OperatingSystem.html +1 -1
  24. data/doc/ForemanApi/Resources/Organization.html +1 -1
  25. data/doc/ForemanApi/Resources/Parameter.html +1 -1
  26. data/doc/ForemanApi/Resources/Ptable.html +1 -1
  27. data/doc/ForemanApi/Resources/Puppetclass.html +1 -1
  28. data/doc/ForemanApi/Resources/Report.html +1 -1
  29. data/doc/ForemanApi/Resources/Role.html +1 -1
  30. data/doc/ForemanApi/Resources/Setting.html +1 -1
  31. data/doc/ForemanApi/Resources/SmartProxy.html +1 -1
  32. data/doc/ForemanApi/Resources/Subnet.html +1 -1
  33. data/doc/ForemanApi/Resources/TemplateCombination.html +1 -1
  34. data/doc/ForemanApi/Resources/TemplateKind.html +1 -1
  35. data/doc/ForemanApi/Resources/User.html +1 -1
  36. data/doc/ForemanApi/Resources/Usergroup.html +1 -1
  37. data/doc/ForemanApi/Resources.html +1 -1
  38. data/doc/ForemanApi.html +1 -1
  39. data/doc/_index.html +1 -1
  40. data/doc/file.MIT-LICENSE.html +1 -1
  41. data/doc/file.README.html +1 -1
  42. data/doc/index.html +1 -1
  43. data/doc/top-level-namespace.html +1 -1
  44. data/lib/foreman_api/documentation.json +1 -1
  45. data/lib/foreman_api/resources/host.rb +19 -2
  46. data/lib/foreman_api/resources/medium.rb +2 -0
  47. data/lib/foreman_api/version.rb +1 -1
  48. metadata +3 -3
@@ -30,23 +30,32 @@ module ForemanApi
30
30
  # @option params [Hash] host
31
31
  # allowed keys are:
32
32
  # * architecture_id [String]
33
+ # * compute_resource_id [String]
33
34
  # * domain_id [String]
34
35
  # * environment_id [String]
35
36
  # * hostgroup_id [String]
36
37
  # * image_id [String]
37
38
  # * medium_id [String]
38
- # * model_id_id [String]
39
+ # * model_id [String]
39
40
  # * operatingsystem_id [String]
40
41
  # * owner_id [String]
41
42
  # * ptable_id [String]
42
43
  # * puppet_ca_proxy_id [String]
44
+ # * puppet_class_ids [Array]
43
45
  # * puppet_proxy_id [String]
44
46
  # * sp_subnet_id [String]
45
47
  # * subnet_id [String]
48
+ # * build [String]
49
+ # * capabilities [String]
50
+ # * compute_attributes [Hash]
51
+ # * enabled [String]
46
52
  # * host_parameters_attributes [Array]
53
+ # * interfaces_attributes [Hash]
47
54
  # * ip [String] Not required if using a subnet with dhcp proxy
48
55
  # * mac [String] Not required if its a virtual machine
56
+ # * managed [String]
49
57
  # * name [String]
58
+ # * provision_method [String]
50
59
  #
51
60
  # @param [Hash] headers additional http headers
52
61
  # @return [Array] First item: parsed data; second item: raw body
@@ -59,23 +68,31 @@ module ForemanApi
59
68
  # @option params [Hash] host
60
69
  # allowed keys are:
61
70
  # * architecture_id [String]
71
+ # * compute_resource_id [String]
62
72
  # * domain_id [String]
63
73
  # * environment_id [String]
64
74
  # * hostgroup_id [String]
65
75
  # * image_id [String]
66
76
  # * medium_id [String]
67
- # * model_id_id [String]
77
+ # * model_id [String]
68
78
  # * operatingsystem_id [String]
69
79
  # * owner_id [String]
70
80
  # * ptable_id [String]
71
81
  # * puppet_ca_proxy_id [String]
82
+ # * puppet_class_ids [Array]
72
83
  # * puppet_proxy_id [String]
73
84
  # * sp_subnet_id [String]
74
85
  # * subnet_id [String]
86
+ # * build [String]
87
+ # * capabilities [String]
88
+ # * compute_attributes [Hash]
89
+ # * enabled [String]
75
90
  # * host_parameters_attributes [Array]
76
91
  # * ip [String] Not required if using a subnet with dhcp proxy
77
92
  # * mac [String] Not required if its a virtual machine
93
+ # * managed [String]
78
94
  # * name [String]
95
+ # * provision_method [String]
79
96
  #
80
97
  # @param [Hash] headers additional http headers
81
98
  # @return [Array] First item: parsed data; second item: raw body
@@ -29,6 +29,7 @@ module ForemanApi
29
29
  # @param [Hash] params a hash of params to be passed to the service
30
30
  # @option params [Hash] medium
31
31
  # allowed keys are:
32
+ # * operatingsystem_ids [Array]
32
33
  # * name [String] Name of media
33
34
  # * os_family [String] The family that the operating system belongs to. available families: archlinux debian gentoo redhat solaris suse windows
34
35
  # * path [String] The path to the medium, can be a url or a valid nfs server (exclusive of the architecture). for example http://mirror.averse.net/centos/$version/os/$arch where $arch will be substituted for the host’s actual os architecture and $version, $major and $minor will be substituted for the version of the operating system. solaris and debian media may also use $release.
@@ -43,6 +44,7 @@ module ForemanApi
43
44
  # @option params [String] id
44
45
  # @option params [Hash] medium
45
46
  # allowed keys are:
47
+ # * operatingsystem_ids [Array]
46
48
  # * name [String] Name of media
47
49
  # * os_family [String, nil] The family that the operating system belongs to. available families: archlinux debian gentoo redhat solaris suse windows
48
50
  # * path [String] The path to the medium, can be a url or a valid nfs server (exclusive of the architecture). for example http://mirror.averse.net/centos/$version/os/$arch where $arch will be substituted for the host’s actual os architecture and $version, $major and $minor will be substituted for the version of the operating system. solaris and debian media may also use $release.
@@ -1,3 +1,3 @@
1
1
  module ForemanApi
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-30 00:00:00.000000000 Z
11
+ date: 2013-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  requirements: []
180
180
  rubyforge_project:
181
- rubygems_version: 2.0.3
181
+ rubygems_version: 2.0.5
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Ruby bindings for Forman's rest API