- 25 Feb, 2014 1 commit
-
-
Conflicts: library/system/lvol
Stefan J. Betz committed
-
- 24 Feb, 2014 1 commit
-
-
This addresses GH-5165 and adds the ability to check if a lvol exists. The tests for this don't fit nicely into the current integration tests so they are below. ``` --- - name: remove any existing lv=one of vg=main lvol: lv=one vg=main state=absent - name: remove any existing lv=two of vg=main lvol: lv=two vg=main state=absent - name: check to see if lv=one of vg=main exists lvol: lv=one vg=main state=present ignore_errors: true register: lvol_result0 - name: Assert that we will get a "No size given." assert: that: - "'No size given.' in lvol_result0.msg" - name: create lv=one of vg=main sized 30g lvol: lv=one size=30g vg=main state=present register: lvol_result1 - name: Assert that we made changes." assert: that: - "lvol_result1.changed == True" - name: check to see if lv=one of vg=main exists lvol: lv=one vg=main state=present register: lvol_result2 - name: Assert that we did not make changes." assert: that: - "lvol_result2.changed == False" - name: remove lv=one of vg=main lvol: lv=one vg=main state=absent - name: create lv=two of vg=main sized 30G lvol: lv=two size=30G vg=main state=present register: lvol_result3 - name: Assert that we made changes." assert: that: - "lvol_result3.changed == True" - name: reduce lv=two of vg=main to 15G lvol: lv=two size=15G vg=main state=present register: lvol_result4 - name: Assert that we made changes." assert: that: - "lvol_result4.changed == True" - name: increase lv=two of vg=main to 30G lvol: lv=two size=30G vg=main state=present register: lvol_result5 - name: Assert that we made changes." assert: that: - "lvol_result5.changed == True" - name: create lv=two of vg=main sized 30G when already exists at 30G lvol: lv=two size=30g vg=main state=present register: lvol_result6 - name: Assert that we did not make changes." assert: that: - "lvol_result6.changed == False" - name: remove lv=two of vg=main lvol: lv=two vg=main state=absent ```
Richard C Isaacson committed
-
- 02 Dec, 2013 2 commits
-
-
James Tanner committed
-
James Tanner committed
-
- 24 Sep, 2013 2 commits
-
-
Tomasz Lesniewski committed
-
Tomasz Lesniewski committed
-
- 03 Aug, 2013 2 commits
-
-
James Cammarata committed
-
Fixes issue #3714 - lvol module state=absent fails (with error) if the volume group doesn't exist
James Cammarata committed
-
- 19 Jul, 2013 1 commit
-
-
Florian Tham committed
-
- 24 Jun, 2013 1 commit
-
-
Serge van Ginderachter committed
-
- 15 Jun, 2013 1 commit
-
-
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string Added deprecation warning to moduledev.rst and remove deprecated example from it Fixed up a few typos and uppercased some acronyms. add consistency to how EXAMPLES are formatted
Jan-Piet Mens committed
-
- 28 Apr, 2013 1 commit
-
-
Michael DeHaan committed
-
- 11 Mar, 2013 1 commit
-
-
Alexander Bulimov committed
-
- 18 Mar, 2013 1 commit
-
-
Michael DeHaan committed
-
- 27 Feb, 2013 1 commit
-
-
Jeroen Hoekx committed
-