foreman_templates 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acae354280dfe45ef7fffd417add76632686f5c6
4
- data.tar.gz: 64324ccdd05c546ff663fa2eb2f2059a0f809e54
3
+ metadata.gz: 51de5fa77409a6ab12be3efe3f653215118edad9
4
+ data.tar.gz: 10d6f8bcf9680670d7fee1ff8b40278f8402f22a
5
5
  SHA512:
6
- metadata.gz: a96282ae4f045fc3642df1f532cfa113c93bd7960b0ad8a1b79a8eb5d022d1908174231c0834fd338dbeca4d9248cf28a7786c8f755faf9afb8a1e3e2390abab
7
- data.tar.gz: 0c30b8e9eb049e4c8f510efd7e97b795b5b4d17445697bb6a58bc1f2b7b57af9baf4a8b2931516d62d784b9a607b1118a7891b7010f8973de1b681809439a575
6
+ metadata.gz: e63a4884b56adc0157813d20d3ead11c532046ff641f6d382cb032273bb6a41d33daa10091edc1247aa3093233ffe95cc1f47792b29400bde06a62aced4b89f5
7
+ data.tar.gz: b6c7f79969381f0bfd46203ee974dca796966a9fe36c9e62f4a1a113619eac07a229b1ca5a6dfa6d297aea45eb29cbb318e28df4000ac0b90f8fdd33bde50fbd
data/README.md CHANGED
@@ -1,36 +1,33 @@
1
1
  # foreman\_templates
2
2
 
3
3
  This plugin will sync the contents of the Foreman Community Templates
4
- [repository](https://github.com/theforeman/community-templates/) to your local
5
- Foreman instance
4
+ [repository](https://github.com/theforeman/community-templates/) (or a git repo
5
+ of your choice) to your local Foreman instance
6
6
 
7
- # Installation
7
+ ## Installation
8
8
 
9
- Require the gem in Foreman, `bundler.d/Gemfile.local.rb`:
9
+ See [How_to_Install_a_Plugin](http://projects.theforeman.org/projects/foreman/wiki/How_to_Install_a_Plugin)
10
+ for how to install Foreman plugins
10
11
 
11
- ```yaml
12
- gem 'foreman_templates'
13
- ```
12
+ The gem name is "foreman_templates".
14
13
 
15
- Or, for the very latest code:
14
+ RPM users can install the "ruby193-rubygem-foreman_templates" or "rubygem-foreman_templates" packages.
16
15
 
17
- ```yaml
18
- gem 'foreman_templates', :git => "https://github.com/GregSutcliffe/foreman_templates.git"
19
- ```
16
+ ## Latest code
20
17
 
21
- Update Foreman with the new gems:
18
+ You can get the develop branch of the plugin by specifying your Gemfile in this way:
22
19
 
23
- bundle update
20
+ gem 'foreman_templates', :git => "https://github.com/theforeman/foreman_templates.git"
24
21
 
25
- # Configuration
22
+ ## Configuration
26
23
 
27
24
  There is UI no configuration at this time.
28
25
 
29
- # Usage
26
+ ## Usage
30
27
 
31
28
  The plugin provides a Rake task to import the templates. To use it, simply do
32
29
 
33
- bundle exec rake templates:sync
30
+ foreman-rake templates:sync
34
31
 
35
32
  This will create a set of templates named "Community ...." (or update them if they
36
33
  already exist). Audit history is preserved, but no comment is currently added for
@@ -49,31 +46,31 @@ template will be automatically associated with the OS
49
46
  * dirname => The directory within the git tree containing the templates [/]
50
47
  * filter => Import names matching this regex (case-insensitive; snippets are not filtered)
51
48
 
52
- # Examples
49
+ ## Examples
53
50
 
54
51
  Just import all the templates in from the default repo
55
52
 
56
- rake templates:sync
53
+ foreman-rake templates:sync
57
54
 
58
55
  Import all templates from a custom repo, with a different prefix
59
56
 
60
- rake templates:sync repo="http://github.com/GregSutcliffe/community-templates" prefix="Greg"
57
+ foreman-rake templates:sync repo="http://github.com/GregSutcliffe/community-templates" prefix="Greg"
61
58
 
62
59
  Import templates matching the name "Fedora"
63
60
 
64
- rake templates:sync filter='fedora'
61
+ foreman-rake templates:sync filter='fedora'
65
62
 
66
63
  Import templates from a subsection of a git repo:
67
64
 
68
- rake templates:sync repo="http://github.com/GregSutcliffe/community-templates" dirname='/subdir'
65
+ foreman-rake templates:sync repo="http://github.com/GregSutcliffe/community-templates" dirname='/subdir'
69
66
 
70
- # TODO
67
+ ## TODO
71
68
 
72
69
  * Allow user to filter to a specific subset of templates
73
70
  * Add associations by template family
74
71
  * Add a button to the UI with Deface to run the rake task
75
72
 
76
- # Copyright
73
+ ## Copyright
77
74
 
78
75
  Copyright (c) 2013 Greg Sutcliffe
79
76
 
@@ -1,3 +1,3 @@
1
1
  module ForemanTemplates
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sutcliffe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-03 00:00:00.000000000 Z
11
+ date: 2013-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diffy
@@ -32,14 +32,14 @@ extra_rdoc_files:
32
32
  - LICENSE
33
33
  - README.md
34
34
  files:
35
- - lib/foreman_templates/version.rb
36
- - lib/foreman_templates/engine.rb
37
- - lib/templates.rake
38
35
  - lib/foreman_templates.rb
36
+ - lib/templates.rake
37
+ - lib/foreman_templates/engine.rb
38
+ - lib/foreman_templates/version.rb
39
39
  - LICENSE
40
40
  - Rakefile
41
41
  - README.md
42
- homepage: http://github.com/GregSutcliffe/foreman_templates
42
+ homepage: http://github.com/theforeman/foreman_templates
43
43
  licenses:
44
44
  - GPL-3
45
45
  metadata: {}